﻿using AutoMapper;
using BCDto.TMS.VehicleCategoryReference;
using BCDto.TMS.VehicleType;
using BCEntity.TMS.VehicleCategoryReference;
using BCEntity.TMS.VehicleType;

namespace BCService.MapperProfiles.TMS.VehicleType
{
    public class VehicleTypeProfile : Profile
    {
        public VehicleTypeProfile()
        {
            CreateMap<VehicleTypeEntity, VehicleTypeDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTypeDto, VehicleTypeExpandEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MaxVehicleTypeValueEntity, MaxVehicleTypeValueDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTypeRequestDto, VehicleTypeEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTypeExpandEntity, VehicleTypeFreightDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleCategoryReferenceExpandEntity, VehicleCategoryReferenceFreightDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleCategoryReferenceExpandEntity, VehicleCategoryReferenceDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTypeExpandEntity, VehicleTypeDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();



        }
    }
}
